package cn.interestinghop.service.user;

import cn.interestinghop.dao.UserDao;
import cn.interestinghop.dao.UserDaoImpl;
import cn.interestinghop.model.entity.User;

public class UserServiceImpl implements UserService{
    UserDao dao = new UserDaoImpl();
    @Override
    public User GetAll(String account, String password) {
        return dao.GetAll(account,password);
    }

    @Override
    public int add(User user) {
        return dao.add(user);
    }
}
